<div class="fsh-pop" style="width:90%">
    <div id="add_form" class="layui-form">
        <input type="hidden" name="id" value="<%=id%>">
        <div class="layui-form-item">
            <label class="layui-form-label">任务名</label>
            <div class="layui-input-block">
                <input type="text" name="taskName" value="<%=taskName%>" readonly class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">用户名</label>
            <div class="layui-input-block">
                <input name="userName" value="<%=userName%>" readonly class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">截图</label>
            <div class="layui-upload">
                    <div class="layui-upload-list" id="demo2"></div>
                </blockquote>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label"><i>*</i>审核状态</label>
            <div class="layui-input-block">
                <select name="checkStatus" lay-verify="checkStatus" id="checkStatus" readonly>
                    <option value="1" <%=checkStatus=="1"?"selected":""%>>审核通过</option>
                    <option value="2" <%=checkStatus=="2"?"selected":""%>>审核失败</option>
                </select>
            </div>
        </div>

        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <textarea placeholder="备注" name="remarks" value="<%=remarks%>"  class="layui-textarea"><%=remarks%></textarea>
            </div>
        </div>
    </div>
</div>
<script>
    layui.use(['layer','jquery','form'], function () {
        var form =layui.form;
        var $ = layui.jquery;


        var imgs="<%=imgUpload%>";
        if(imgs){
            var arr=imgs.split(",")
            for(var str in arr){
                $('#demo2').append('<img src="'+ arr[str] +'" class="layui-upload-img">');
            }

        }


    });


</script>